<html>
  <style type="text/css">
    table tbody tr:nth-child(2n+1) {
        background-color: #edecec;
    }
  </style>
  <table>
    <thead>
      <tr>
        <th>A</th><th>B</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>
          A
        </td>
        <td>
          B
        </td>
      </tr>
      <tr>
        <td>
          A
        </td>
        <td>
          B
        </td>
      </tr>
      <tr>
        <td>
          A
        </td>
        <td>
          B
        </td>
      </tr>
    </tbody>
  </table>
</html>
